
import 'package:json_annotation/json_annotation.dart';
part 'version_bean.g.dart';
@JsonSerializable()
class version_bean {
  String iosUrl;
  String appname;
  String appVersion;
  String downloadUrl;
  String androidUrl;
  String id;
  String upContent;

  version_bean(
      {this.iosUrl,
        this.appname,
        this.appVersion,
        this.downloadUrl,
        this.androidUrl,
        this.id,
        this.upContent});

  version_bean.fromJson(Map<String, dynamic> json) {
    iosUrl = json['ios_url'];
    appname = json['appname'];
    appVersion = json['app_version'];
    downloadUrl = json['download_url'];
    androidUrl = json['android_url'];
    id = json['id'];
    upContent = json['up_content'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['ios_url'] = this.iosUrl;
    data['appname'] = this.appname;
    data['app_version'] = this.appVersion;
    data['download_url'] = this.downloadUrl;
    data['android_url'] = this.androidUrl;
    data['id'] = this.id;
    data['up_content'] = this.upContent;
    return data;
  }
}